import 'package:flutter/cupertino.dart';

class EditDataModel extends ChangeNotifier {
  String nick = "";

  int nickState = 0;

  void setNickState(int nickState) {
    this.nickState = nickState;
  }

/*
* 昵称
* */
  void changeNick(String nick) {
    this.nick = nick;
  }

  String introduction = "";

  void changeIntroduction(String introduction) {
    this.introduction = introduction;
  }

  double alpha = 0.0;

/*
* 偏移量
* */
  void appBarAlpha(double alpha) {
    this.alpha = alpha;
    notifyListeners();
  }

  @override
  void dispose() {
    super.dispose();
    nick = "";
  }
}
